# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-locket
pkgver=1.0.0
pkgrel=0
pkgdesc="File-based locks for Python"
url="https://github.com/mwilliamson/locket.py"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/l/locket/locket-$pkgver.tar.gz"
options="!check" # Release tarball doesn't contain the tests
builddir="$srcdir/locket-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
9b41bbc39864f7c9eb4bfeae62c000bea1d1c0fac1320317ef4b4d02add3e1c3ae599e8c9c24fe1d1ac716fa1befc1bf76b748399927cb86be237763a9bed44b  locket-1.0.0.tar.gz
"
